package com.mcxx.modules.system.service.write;

import com.mcxx.modules.system.dao.write.TaskExportWriteDao;
import com.mcxx.modules.system.entity.TaskExportEntity;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@TaTransactional
public class TaskExportWriteService {

    @Autowired
    private TaskExportWriteDao taskExportWriteDao;


    public int insert(TaskExportEntity taskExport){ return taskExportWriteDao.insert(taskExport); }


    public int insertIgnoreNull(TaskExportEntity taskExport){ return taskExportWriteDao.insertIgnoreNull(taskExport); }


    public int update(TaskExportEntity taskExport){ return taskExportWriteDao.update(taskExport); }


    public int updateIgnoreNull(TaskExportEntity taskExport){ return taskExportWriteDao.updateIgnoreNull(taskExport); }


    public int delete(TaskExportEntity taskExport){ return taskExportWriteDao.delete(taskExport); }
}
